package com.selftool.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.selftool.base.NCVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: selftool
 * @description: 模型明细实体
 * @author: CYQ
 * @create: 2024-02-29 14:52
 **/
@TableName("bd_model")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ModelVO extends NCVO {
    @TableId
    String id;//主键
    String tablename;//表名
    String code;//编码
    String name;//名称
    String memo;//备注

    @TableField(exist = false)
    String value;//值
    /**
     * @return
     */
    @Override
    public String getTableName() {
        return "bd_model";
    }

    /**
     * @return
     */
//    @Override
//    public String[] getAttributeNames() {
//        return new String[]{"id","tableName","code","name","memo"};
//    }
}
